package com.ehome.poct.base.api.dto.device;

import com.ehome.core.entity.DTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * 新增设备Command
 *
 * @author 瑶苏
 * @since 2022/03/10 14:30
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("新增设备Command")
public class AddDeviceDTO extends DTO {
    
    @ApiModelProperty(value = "用户手机号", required = true)
    private String sno;
    
    @NotNull(message = "类型不能为空")
    @ApiModelProperty(value = "类型",notes = "1.金标仪  2.血液分析仪 ", required = true)
    private Integer type;
}